package com.jizhi.service.impl;

import com.jizhi.entity.Inspectiontype;
import com.jizhi.mapper.InspectiontypeMapper;
import com.jizhi.service.InspectiontypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 罗兆良
 * @since 2020-11-16
 */
@Service
public class InspectiontypeServiceImpl extends ServiceImpl<InspectiontypeMapper, Inspectiontype> implements InspectiontypeService {

    @Resource
    private InspectiontypeMapper inspectiontypeMapper;
    @Override
    public List<Inspectiontype> selectAll() {
        return inspectiontypeMapper.selectList(null);
    }
}
